#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>
#include "camera/GLWidget.h"
#include "camera/GetCameraFrame_Thread.h"
#include <QImage>
#include <QTimer>

QT_BEGIN_NAMESPACE
namespace Ui { class Dialog; }
QT_END_NAMESPACE

class Dialog : public QDialog
{
    Q_OBJECT

public:
    Dialog(QWidget *parent = nullptr);
    ~Dialog();

    bool GetVideoFrame(QImage &Img);
    QTimer m_VideoTimer;
    GetCameraFrame_Thread *m_pCameraThread;
private:
    Ui::Dialog *ui;
};
#endif // DIALOG_H
